package cn.jetpiece.cloud.joss.sdk.core.oss.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 服务商对象存储
 *
 * @author XuJZ
 * @since 2020-09-05
 */

public class ProviderStorage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据权限(1:私有,2:公共可读,3:公共读写),没传使用桶策略
     */
    private Integer acl;

    /**
     * 桶UUID
     */
    private String bucketName;

    /**
     * 服务商地址
     */
    private String providerUrl;

    /**
     * ETag
     */
    private String eTag;

    /**
     * 存储类型UUID
     */
    private String objectStorageClassId;

    /**
     * 新增时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    public Integer getAcl() {
        return acl;
    }

    public void setAcl(Integer acl) {
        this.acl = acl;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    public String getProviderUrl() {
        return providerUrl;
    }

    public void setProviderUrl(String providerUrl) {
        this.providerUrl = providerUrl;
    }

    public String geteTag() {
        return eTag;
    }

    public void seteTag(String eTag) {
        this.eTag = eTag;
    }

    public String getObjectStorageClassId() {
        return objectStorageClassId;
    }

    public void setObjectStorageClassId(String objectStorageClassId) {
        this.objectStorageClassId = objectStorageClassId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
